#include<iostream>
using namespace std;

struct Person{

    std::string name, address;
};

std::istream &read(std::istream &is, Person &person)
{
    is >> person.name >> person.address;
    return is;

}

std::ostream &print(std::ostream &os, const Person &person)
{
    os << person.name << " " << person.address;
    return os;
}

int main(){

    Person guy;
    read(cin, guy);
    print(cout, guy) << endl;

    return 0;
}